package net.borlis.sample.service.db.em.lifecycle;

import net.borlis.sample.service.db.em.DatabaseDictionary;

import javax.persistence.EntityManager;

/**
 * @author alex@borlis.net on 29.10.2014.
 */
public interface ILifecycleEntityManagerProvider {

    EntityManager provideLifecycleEntityManager(DatabaseDictionary db);

    EntityManager provideLifecycleEntityManager();

}
